| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

ResourceDeclAugmentCallback.h
1 // ResourceDeclAugmentCallback.h
3 //
5
6 namespace nkGraphics
7 {
19 class ResourceDeclAugmentCallback
20 {
21 public :
22
26 ResourceDeclAugmentCallback () noexcept ;
30 virtual ~ResourceDeclAugmentCallback () ;
31
38 virtual void onCamera (Camera* camera, nkExport::Node* rootNode) ;
45 virtual void onMesh (Mesh* mesh, nkExport::Node* rootNode) ;
52 virtual void onRenderQueue (RenderQueue* renderQueue, nkExport::Node* rootNode) ;
59 virtual void onShader (Shader* shader, nkExport::Node* rootNode) ;
66 virtual void onTexture (Texture* texture, nkExport::Node* rootNode) ;
67 } ;
68 }
nkGraphics::ResourceDeclAugmentCallback::ResourceDeclAugmentCallback
ResourceDeclAugmentCallback() noexcept
nkGraphics::Camera
Offers all controls to model a camera.
Definition: Camera.h:14
nkGraphics::Texture
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
nkGraphics::RenderQueue
A render queue, where all items that have to be rendered are queued.
Definition: RenderQueue.h:17
nkGraphics::ResourceDeclAugmentCallback::onShader
virtual void onShader(Shader *shader, nkExport::Node *rootNode)
nkGraphics::ResourceDeclAugmentCallback::onTexture
virtual void onTexture(Texture *texture, nkExport::Node *rootNode)
nkExport
Encompasses all API of component NilkinsExport.
Definition: Base64Encoder.h:7
nkGraphics::Shader
A shader class, feeding data to a Program.
Definition: Shader.h:16
nkGraphics::ResourceDeclAugmentCallback
A callback called whenever a resource is being processed, during a save or load of resource set.
Definition: ResourceDeclAugmentCallback.h:20
nkGraphics::ResourceDeclAugmentCallback::onMesh
virtual void onMesh(Mesh *mesh, nkExport::Node *rootNode)
nkGraphics::ResourceDeclAugmentCallback::onRenderQueue
virtual void onRenderQueue(RenderQueue *renderQueue, nkExport::Node *rootNode)
nkGraphics::Node
Represents a node in a scene graph.
Definition: Node.h:16
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
nkGraphics::Mesh
Holds information about a mesh. Used as a basis to render 3d models.
Definition: Mesh.h:14
nkGraphics::ResourceDeclAugmentCallback::onCamera
virtual void onCamera(Camera *camera, nkExport::Node *rootNode)